package com.yb.module.model.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yb.framework.core.base.BaseMapper;
import com.yb.module.model.domain.ModelTemplateShape;

@Mapper
public interface ModelTemplateShapeMapper extends BaseMapper<ModelTemplateShape> {
	
	void deleteByTemplateId(Long templateId);
	
	void deleteByShapeId(Long shapeId);
	
	List<Long> getShapeIdsByTemplateId(Long templateId);
	
	List<Long> getTemplateIdsByShapeId(Long shapeId);
}